/* ============ 空状态容器 ============ */

.empty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 20px;
}

.empty-wrapper.empty-small {
    min-height: 200px;
}

.empty-wrapper.empty-medium {
    min-height: 300px;
}

.empty-wrapper.empty-large {
    min-height: 400px;
}

/* ============ 空状态内容 ============ */

.empty-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 400px;
}

/* ============ 图标 ============ */

.empty-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    color: #bfbfbf;
    opacity: 0.6;
}

.empty-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.empty-small .empty-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.empty-large .empty-icon {
    width: 160px;
    height: 160px;
    margin-bottom: 28px;
}

/* ============ 标题 ============ */

.empty-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.empty-small .empty-title {
    font-size: 14px;
    margin-bottom: 6px;
}

.empty-large .empty-title {
    font-size: 18px;
    margin-bottom: 12px;
}

/* ============ 描述 ============ */

.empty-description {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.empty-small .empty-description {
    font-size: 12px;
    margin-bottom: 12px;
}

.empty-large .empty-description {
    font-size: 15px;
    margin-bottom: 28px;
}

/* ============ 操作按钮 ============ */

.empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-action-btn {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.empty-action-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.empty-action-btn:active {
    transform: translateY(0);
}

.empty-small .empty-action-btn {
    padding: 6px 12px;
    font-size: 12px;
}

.empty-large .empty-action-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* ============ 类型样式 ============ */

.empty-error .empty-icon {
    color: #ff4d4f;
}

.empty-network .empty-icon {
    color: #faad14;
}

.empty-search .empty-icon {
    color: #1890ff;
}

/* ============ 响应式 ============ */

@media (max-width: 768px) {
    .empty-wrapper {
        min-height: 250px;
        padding: 16px;
    }

    .empty-wrapper.empty-medium {
        min-height: 250px;
    }

    .empty-wrapper.empty-large {
        min-height: 300px;
    }

    .empty-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }

    .empty-title {
        font-size: 15px;
    }

    .empty-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .empty-wrapper {
        min-height: 200px;
        padding: 12px;
    }

    .empty-wrapper.empty-medium {
        min-height: 200px;
    }

    .empty-wrapper.empty-large {
        min-height: 250px;
    }

    .empty-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }

    .empty-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .empty-description {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .empty-actions {
        gap: 8px;
    }

    .empty-action-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}
